module.exports = {
  publicPath: '/vue3',
  lintOnSave: false,
  configureWebpack: {
    output: {
      // 把子应用打包成 umd 库格式
      library: 'mic-vue3',
      libraryTarget: 'umd',
      jsonpFunction: `webpackJsonp_mic-vue3`
    }
  },
  devServer: {
    port: 4000,
    headers: {
      'Access-Control-Allow-Origin': '*'
    }
  }
}
